﻿using System.Collections.Generic;

namespace Nop.Web.Models.XJ
{
	public class InspectionListModel
	{
	}
	public class InspectionListItemModel
	{
		public int Id { get; set; }
		/// <summary>
		/// 类型：日巡检、周巡检、月巡检
		/// <see cref="InspectionTypeEnum"/>
		/// </summary>
		public string TypeName { get; set; }
		/// <summary>
		/// 设施设备Id
		/// </summary>
		public string EquipmentName { get; set; }
		/// <summary>
		/// 班组Id
		/// </summary>
		public string TeamName { get; set; }
		/// <summary>
		/// 人员Id
		/// </summary>
		public string PersonName { get; set; }
		/// <summary>
		/// 计划巡检时间
		/// </summary>
		public string PlanOn { get; set; }
		/// <summary>
		/// 巡检人
		/// </summary>
		public string InspectionPersonName { get; set; }
		/// <summary>
		/// 巡检日期
		/// </summary>
		public string InspectionOn { get; set; }
		/// <summary>
		/// 状态
		/// <see cref="InspectionStateEnum"/>
		/// </summary>
		public string StateName { get; set; }
	}
	public class InspectionModel
	{
		public InspectionModel()
		{
			this.Pictures = new List<string>();
		}
		public int Id { get; set; }
		/// <summary>
		/// 巡检计划Id
		/// </summary>
		public int InspectionPlanId { get; set; }
		/// <summary>
		/// 类型：日巡检、周巡检、月巡检
		/// <see cref="InspectionTypeEnum"/>
		/// </summary>
		public string TypeName { get; set; }
		/// <summary>
		/// 巡检点
		/// </summary>
		public string PlaceName { get; set; }
		/// <summary>
		/// 班组Id
		/// </summary>
		public string TeamName { get; set; }
		/// <summary>
		/// 人员Id
		/// </summary>
		public string PersonName { get; set; }
		/// <summary>
		/// 巡检备注
		/// </summary>
		public string Comment { get; set; }
		/// <summary>
		/// 创建人
		/// </summary>
		public int CustomerId { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public string CreatedOn { get; set; }
		/// <summary>
		/// 巡检图片
		/// </summary>
		public IList<string> Pictures { get; set; }
	}
}